#include "option.h"
#include <allegro.h>
#include <string.h>

option::option(int x, int y, char *text) {
	this-> x = x;
	this-> y = y;
	strcpy(this->text, text);
}

void option::draw(BITMAP *buffer) {
	textout_ex( buffer, font, this->text, this->x, this->y, makecol(255, 10, 50), -1);
}
